<center><strong><?php echo $program_name ?></strong></center>
<br>
<?php if(count($teachers) > 0) { ?>
<?php foreach($days as $_5days) { ?>
<table cellspacing="0" cellpadding="2" width="100%" border="1" dir="rtl">
    <tr>
        <th>
            <?php echo __('Teacher Name') ?>
        </th>
        <?php foreach($_5days as $k => $one) { ?>
            <th dir="ltr">
                <?php echo $one ?>
            </th>
        <?php } ?>
    </tr>
    <?php foreach($teachers as $one) { ?>
    <tr>
        <td>
            <?php $teacher = $one['Teacher'] ?>
            <?php echo $teacher['f_name'].' '.$teacher['s_name'].' '.$teacher['t_name'].' '.$teacher['l_name'] ?>
        </td>
        <?php for($i = 0 ; $i <= $k ; $i++){ ?>
                   <td align="center">
                       <table border="0" width="100%" cellpadding="0" cellspacing="0">
                           <tr>
                               <td width="20%">1</td>
                               <td>&nbsp;</td>
                           </tr>
                           <tr>
                               <td width="20%" style="border-top:1px solid black">2</td>
                               <td style="border-top:1px solid black">&nbsp;</td>
                           </tr>
                       </table>
                   </td><?php } ?>
    </tr>
    <?php } ?>
</table>
<br/>
<?php } ?>
<?php } else { ?>
<center><?php echo __('there_are_no_teachers') ?></center>
<?php } ?>
